/**
 * Description:project api
 * Created by wxy on 2018/8/14
 */

import request from '@/utils/request.js'


const baseUrl = '/api/ziguang-mes-basic'
const getProjectList = () => request({
  url: `${baseUrl}/api/v1/mes/basic/factory`,
  method: 'GET'
})

// 单个工厂信息
const getSingleFactory = (params) => request({
  url: `${baseUrl}/api/v1/mes/basic/singleFactory`,
  method: 'GET',
  params
})


export {
  getProjectList,
  getSingleFactory
}
